<%-- Composition Page: course_view.jsp --%>

<%
//Meta
request.setAttribute("css", request.getContextPath() + "/style.css"); //Generic path to CSS
request.setAttribute("title", "Three2Learn - Edit Course"); //Page title
request.setAttribute("background", "linen"); //Background types; linen, chalk, plain
request.setAttribute("color", "orange"); //Color types; red, orange, green
//Header Content
request.setAttribute("header", "/WEB-INF/widgets/top-navigation.jsp");

//Body Content
request.setAttribute("body", "/WEB-INF/body/courses/course_edit-body.jsp"); //Body Content
//Footer
request.setAttribute("footer", "footer.jsp"); //Footer Content
//Widgets
request.setAttribute("top", "/WEB-INF/widgets/banner.jsp");
request.setAttribute("sidebar_first", "/WEB-INF/widgets/popular-courses.jsp");
request.setAttribute("sidebar_second", "/WEB-INF/widgets/latest-news.jsp");
request.setAttribute("url", request.getContextPath()); //Sidebar Content
%>


<%-- Include abstract layout --%> 
<jsp:include page="/WEB-INF/templates/full.jsp" />
<%-- Change this value to either sidebar-right.jsp, sidebar-left.jsp or full.jsp --%>
<%-- WHEN USING FULL.JSP, remove the sidebar attribute --%>
<%-- TODO; loading the value of which layout to include from database --%>
